#search {
    height: 100%;
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
}

/*顶部搜索框区域-开始*/
#search .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: inherit;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 15px;
    padding-right: 11px;
    box-sizing: border-box;
    background: #FAFAFA;
}

#search .top-bar>a,
#search .top-bar>.search {
    display: inline-flex;
    display: -webkit-inline-flex;
    align-items: center;
    position: relative;
}

#search .top-bar>a.button {
    width: 50px;
    height: 30px;
    border-radius: 15px;
    justify-content: center;
    color: #FFFFFF;
    font-size: 14px;
    background: -webkit-linear-gradient(left, #28C76F, #81FBB8); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(right, #28C76F, #81FBB8); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(right, #28C76F, #81FBB8); /* Firefox 3.6 - 15 */
    background: linear-gradient(to right, #28C76F, #81FBB8); /* 标准的语法 */
}

#search .top-bar>.search {
    flex-grow: 2;
    padding-left: 40px;
    padding-right: 10px;
    box-sizing: border-box;
}

#search .top-bar>.search>img {
    position: absolute;
    width: 15px;
    left: 47px;
}

#search .top-bar>.search>input {
    height: 30px;
    width: 100%;
    border: none;
    border-radius: 15px;
    background: #FFFFFF;
    color: #CCC;
    font-size: 14px;
    padding-left: 24px;
    box-sizing: border-box;
}
/*顶部搜索框区域-结束*/

/*历史搜索区域-开始*/
#search .history-search {
    flex: 1;
    padding-top: 45px;
    box-sizing: border-box;
    background: #FFFFFF;
    padding-left: 24px;
    padding-right: 37px;
    display: inherit;
    flex-direction: column;
}

#search .history-search>.bar {
    height: 40px;
    display: inherit;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#search .history-search>.bar>span {
    font-size: 13px;
    color: #808080;
}

#search .history-search>.bar>img {
    width: 15px;
    margin-right: -26px;
}

#search .history-search>.panel {
    display: inherit;
    flex-flow: row wrap;
    justify-content: space-between;
}

#search .history-search>.panel>.search-info {
    height: 40px;
    box-sizing: border-box;
    padding-top: 5px;
    padding-bottom: 5px;
}

#search .history-search>.panel>.search-info>.info {
    background: #F5F5F5;
    color: #B3B3B3;
    min-width: 75px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 15px;
    box-sizing: border-box;
    padding-left: 14px;
    padding-right: 14px;
}

#search .history-search>.panel>.search-info>.touch {
    background: #55E194;
    color: #FFFFFF;
}
/*历史搜索区域-结束*/

/*查询结果区域-开始*/
#search .search-result {
    flex: 1;
    padding-top: 50px;
    display: inherit;
    flex-direction: column;
}

#search .search-result>.result {
    flex: 1;
    background: #FFFFFF;
    overflow-y: auto;
}

#search .search-result>.result>.panel {
    height: 90px;
    padding-left: 15px;
    padding-right: 15px;
}

#search .search-result>.result>.active {
    background: #E3E3E3;
}

#search .search-result>.result>.panel>.card {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    height: 100%;
}


#search .search-result>.result>.panel:not(:last-child)>.card {
    border-bottom: 1px solid #F2F2F2;
}

#search .search-result>.result>.panel>.card>img {
    width: 70px;
}

#search .search-result>.result>.panel>.card>.content {
    flex: 1;
    display: inherit;
    flex-direction: column;
    align-items: inherit;
    height: 100%;
    box-sizing: border-box;
    padding-left: 5px;
    padding-top: 10px;
    padding-bottom: 5px;
    justify-content: space-between;
}

#search .search-result>.result>.panel>.card>.content>div {
    width: 100%;
}

#search .search-result>.result>.panel>.card>.content>div.top {
    font-size: 14px;
    text-align: left;
    flex: 1 1;
}

#search .search-result>.result>.panel>.card>.content>div.middle {
    color: #808080;
}

#search .search-result>.result>.panel>.card>.content>div.bottom {
    display: inherit;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

#search .search-result>.result>.panel>.card>.content>div.bottom>div.money {
    font-size: 14px;
    color: #FF6363;
    flex: 1 1;
}

#search .search-result>.result>.panel>.card>.content>div.bottom>div.button {
    display: inherit;
    flex-flow: inherit;
    align-items: inherit;
    justify-content: flex-end;
    flex: 1 1;
}

#search .search-result>.result>.panel>.card>.content>div.bottom>div.button>div>img,
#search .search-result>.result>.panel>.card>.content>div.bottom>div.button>img {
    width: 27px;
}

#search .search-result>.result>.panel>.card>.content>div.bottom>div.button>span {
    background: #CCC;
    margin-left: 5px;
    margin-right: 5px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 14px;
    flex: 1 1;
}

#search .search-result>.result>.panel>.card>.content>div.bottom>div.button>div
{
    display: inherit;
    align-items: baseline;
}
/*底部导航-开始*/
#search .search-result>.bar {
    height: 50px;
    display: inherit;
    flex-direction: row;
    justify-content: space-between;
    background: #FFFFFF;
    box-shadow: 0 0 3px RGBA(41, 200, 112, 0.17);
    z-index: 999;
}

#search .search-result>.bar>.total {
    width: 155px;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: inherit;
    align-items: center;
    flex-grow: 1;
}

#search .search-result>.bar>.total>span {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

#search .search-result>.bar>.total>span>img {
    width: 40px;
    margin-top: -30px;
}

#search .search-result>.bar>.total>span>sup {
    margin-top: -35px;
    margin-left: -12px;
    color: #FFFFFF;
    background: #FF6363;
    width: 25px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
}

#search .search-result>.bar>.total>span {
    font-size: 15px;
    color: #808080;
}

#search .search-result>.bar>.total span.money {
    color: #FF6363;
    font-size: inherit;
    max-width: 54px;
}

#search .search-result>.bar>.button {
    width: 125px;
    line-height: 50px;
    text-align: center;
    font-size: 16px;
    color: #FFF;
}
/*底部导航结束*/
/*查询结果区域-结束*/
#search .cart {
    height: 40%;
    width: 100%;
    position: fixed;
    bottom: 50px;
    z-index: 998;
    background: #FFF;
    display: flex;
    display: -webkit-flex;
    flex-flow: column;
}

#search .cart>.top {
    width: 100%;
    height: 25px;
    line-height: 25px;
    padding-left: 10px;
    padding-right: 10px;
    display: inherit;
    justify-content: space-between;
    flex-flow: row;
    box-sizing: border-box;
}

#search .cart>.top>span {
    font-size: 14px;
    color: #FFFFFF;
}

#search .cart>.cart-products {
    flex: 1;
    padding-left: 6px;
    padding-right: 6px;
    box-sizing: border-box;
    overflow-y: auto;
}

#search .cart>.cart-products>.card {
    height: 48px;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
    display: flex;
    display: -webkit-flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
}

#search .cart>.cart-products>.card:not(:last-child) {
    border-bottom: 1px solid #F2F2F2;
}

#search .cart>.cart-products>.card>div {
    font-size: 14px;
    flex: 0 1 auto;
}

#search .cart>.cart-products>.card>.radio {
    margin-right: 3px;
    height: 48px;
    line-height: 50px;
}

#search .cart>.cart-products>.card>.radio>img {
    width: 12px;
}

#search .cart>.cart-products>.card>.product-name {
    color: #808080;
    flex: 1 1 auto;
}

#search .cart>.cart-products>.card>.control {
    display: flex;
    display: -webkit-flex;
    flex-flow: row;
}

#search .cart>.cart-products>.card>.control>* {
    height: 25px;
}

#search .cart>.cart-products>.card>.control>input {
    border: none;
    border-radius: 12.5px;
    background: #CCC;
    text-align: center;
    font-size: 15px;
    width: 50px;
    margin-left: 7px;
    margin-right: 7px;
}